From 93b9120871c50c14ed8818b380307174383c4fd6 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 14 May 1993 14:42:01 +0000 Subject: [PATCH] * lread.c, data.c: If STDC_HEADERS is #defined, include to get the extern declarations for atof. That's where it is in POSIX. --- src/data.c | 3 +++ src/lread.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/data.c b/src/data.c index c4473c8cbd3..db726c0f8b2 100644 --- a/src/data.c +++ b/src/data.c @@ -31,6 +31,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "syssignal.h" #ifdef LISP_FLOAT_TYPE +#ifdef STDC_HEADERS +#include +#endif #include #endif /* LISP_FLOAT_TYPE */ diff --git a/src/lread.c b/src/lread.c index 8615288f06b..aa211716a0a 100644 --- a/src/lread.c +++ b/src/lread.c @@ -45,6 +45,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #ifdef LISP_FLOAT_TYPE +#ifdef STDC_HEADERS +#include +#endif #include #endif /* LISP_FLOAT_TYPE */ -- 2.30.2